import axios from "axios";
let service = axios.create({
    baseURL: 'http://124.221.178.141:3000/',
    timeout: 5000,
    withCredentials: true,
})
service.interceptors.request.use((config: any) => {
    config.headers.Authorization = window.sessionStorage.getItem('token')
    return config
})
export default service